package com.lonni.rpc.core.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * rpc响应传输实体
 * @author: lonni
 * @CreateTime: 2024-06-27  20:46
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RpcResponse implements Serializable {

    private Object data;

    private Exception exception;
}
